package io.renren.modules.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.api.dao.PsOrderLogisticsRecordDao;
import io.renren.modules.api.entity.PsOrderLogisticsRecordEntity;
import io.renren.modules.api.service.PsOrderLogisticsRecordService;



@Service("psOrderLogisticsRecordService")
public class PsOrderLogisticsRecordServiceImpl implements PsOrderLogisticsRecordService {
	@Autowired
	private PsOrderLogisticsRecordDao psOrderLogisticsRecordDao;
	
	@Override
	public PsOrderLogisticsRecordEntity queryObject(Long id){
		return psOrderLogisticsRecordDao.queryObject(id);
	}
	
	@Override
	public List<PsOrderLogisticsRecordEntity> queryList(Map<String, Object> map){
		return psOrderLogisticsRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return psOrderLogisticsRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(PsOrderLogisticsRecordEntity psOrderLogisticsRecord){
		psOrderLogisticsRecordDao.save(psOrderLogisticsRecord);
	}
	
	@Override
	public void update(PsOrderLogisticsRecordEntity psOrderLogisticsRecord){
		psOrderLogisticsRecordDao.update(psOrderLogisticsRecord);
	}
	
	@Override
	public void delete(Long id){
		psOrderLogisticsRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		psOrderLogisticsRecordDao.deleteBatch(ids);
	}
	
}
